﻿using System;
using System.IO;
using System.Collections.Generic;

using SBPweb.Modules.Modularity;

namespace SBPweb.MediaCenter.Common.Services
{

    public interface IOpenerService : IService
    {

    }

    public interface IOpenerService<TItem> : IOpenerService
    {

        void Open(TItem item);

    }

    public interface IUriOpenerService : IOpenerService<Uri>
    {

        IList<string> GetSupportedExtensions();

        string CurrentExtensionsFilter
        {
            get;
        }

    }

    public interface IStreamOpenerService : IOpenerService<Stream>
    {

        IList<Type> GetSupportedStreamTypes();

    }

}